package com.serviceprovider.business.module.admin.transaction.services.dao.interfaces;

//~--- non-JDK imports --------------------------------------------------------

import com.serviceprovider.business.module.admin.transaction.model.CSVToFlatTableMapping;
import com.serviceprovider.business.module.admin.transaction.model.CSVToFlatTableMappingData;

//~--- JDK imports ------------------------------------------------------------

import java.util.List;

public interface ICSVToFlatTableMappingService {
    public List<String> getFlatTableFields();

    public int saveMappingData(CSVToFlatTableMappingData mapping);

    public void updateMappingData(CSVToFlatTableMappingData mapping);

    public void deleteMappingData(int mappingId);

    public List<CSVToFlatTableMappingData> listMappingData(int mappingId);

    public int saveMapping(CSVToFlatTableMapping mapping);

    public void updateMapping(CSVToFlatTableMapping mapping);

    public void deleteMapping(int mappingId);

    public List<CSVToFlatTableMapping> listMappings();

    CSVToFlatTableMapping getMapping(int id);
}



